package com.source.barcodeMachineGrantAndRecovery.service;

import com.source.barcodeMachineGrantAndRecovery.VO.BarcodeMachineGrantVO;
import com.source.barcodeMachineGrantAndRecovery.VO.HouseMachineGrantVO;
import com.source.barcodeMachineGrantAndRecovery.entity.HouseMachineGrant;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author IceBerg777
 * @since 2021-04-14
 */
public interface HouseMachineGrantService extends IService<HouseMachineGrant> {

    HouseMachineGrantVO findById(String id);

    List<HouseMachineGrantVO> findAll();

    List<HouseMachineGrantVO> findByLike(String keyWord);

    HouseMachineGrant findByMachineNumber(String machineNumber);


    HouseMachineGrant findByMachineNumberAndGrantDate(String machineNumber, String date);

    List<HouseMachineGrantVO> findAllDistinct();

    List<HouseMachineGrantVO> findDistinctByLike(String keyWord);

    List<HouseMachineGrant> findUnGranted();
}
